/****************************************************************************************************/
/**

\file       Typedefs.h
\brief      Variable types and common macros
\author     Gerardo Valdovinos
\version    1.0
\date       08/10/2014
*/
/****************************************************************************************************/

/****************************************************************************************************/

#ifndef __TYPEDEF_H
#define __TYPEDEF_H


/*****************************************************************************************************
* Include files
*****************************************************************************************************/
#include <hidef.h>          /* common defines and macros */
#include "derivative.h"     /* derivative-specific definitions */

/*****************************************************************************************************
* Definition of module wide VARIABLES
*****************************************************************************************************/

/*****************************************************************************************************
* Definition of module wide MACROs / #DEFINE-CONSTANTs
*****************************************************************************************************/

typedef unsigned char       u8;
typedef unsigned short      u16;
typedef unsigned long       u32;
typedef signed char         s8;
typedef short               s16;
typedef long int            s32;

// Pointer to function
typedef void(*vpfn)(void);

/*-- Macros ------------------------------------------------------------------*/


/*-- Function Prototypes -----------------------------------------------------*/


#endif /* __TYPEDEF_H */

/*******************************************************************************/